package com.yxinsur.imc.business.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxinsur.imc.business.domain.ImcSupplierPersistency;
import com.yxinsur.imc.business.vo.ImcSupplierPersistencyVo;

/**
 * 供应商继续率主Mapper接口
 *
 * @author imc
 * @date 2021-09-23
 */
public interface ImcSupplierPersistencyMapper extends BaseMapper<ImcSupplierPersistency> {
    /**
     * 查询供应商继续率主
     *
     * @param id 供应商继续率主ID
     * @return 供应商继续率主
     */
    public ImcSupplierPersistency selectImcSupplierPersistencyById(String id);

    /**
     * 查询供应商继续率主列表
     *
     * @param imcSupplierPersistency 供应商继续率主
     * @return 供应商继续率主集合
     */
    public List<ImcSupplierPersistencyVo> selectImcSupplierPersistencyList(ImcSupplierPersistency imcSupplierPersistency);

    /**
     * 新增供应商继续率主
     *
     * @param imcSupplierPersistency 供应商继续率主
     * @return 结果
     */
    public int insertImcSupplierPersistency(ImcSupplierPersistency imcSupplierPersistency);

    /**
     * 修改供应商继续率主
     *
     * @param imcSupplierPersistency 供应商继续率主
     * @return 结果
     */
    public int updateImcSupplierPersistency(ImcSupplierPersistency imcSupplierPersistency);

    /**
     * 删除供应商继续率主
     *
     * @param id 供应商继续率主ID
     * @return 结果
     */
    public int deleteImcSupplierPersistencyById(String id);

    /**
     * 批量删除供应商继续率主
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteImcSupplierPersistencyByIds(String[] ids);
}
